package com.zm.duotai2;

public class mainTest {
    public static void main(String[] args) {
        CameraPhone Nokia=new MyPhone("张三",new NokiaPhone());
        ((MyPhone) Nokia).myCall();
        CameraPhone Moto =new MyPhone("李四",new MotoPhone());
        ((MyPhone) Moto).myCall();
    }
}
